package com.scs.application.modules.order.consts;

/**
 * @Description: 字典常量
 */
public interface DictConsts {


    /** 采购订单 - 供应商确认状态，字典类型·：order_po_supplier_confirm_status  */

    int STATUS_UNCONFIRM = 0;

    int STATUS_CONFIRMED_YES = 1;

    int STATUS_CONFIRMED_NO = 2;

    /** 采购订单 - 发货状态，字典类型：order_po_delivery_status  */

    /** 未发货 **/
    int STATUS_UNDELIVERY = 0;

    /** 部分发货 **/
    int STATUS_PART_DELIVERY = 1;

    /** 已全部发货 **/
    int STATUS_DELIVERYED = 2;

    /** 采购订单 - 订单状态，字典类型：order_po_status  */

    int STATUS_UNSUBMIT = 0;

    int STATUS_UNPASS = 1;

    int STATUS_SUPPLIER_UNCONFIRM = 2;

    int STATUS_SUPPLIER_UNDELIVERY = 3;

    int STATUS_SUPPLIER_DELIVERYED = 4;

    int STATUS_COMPLETE = 9;

    /** 采购订单 - 是否状态，字典类型：common_yes_no  */

    int STATUS_NO = 0;

    int STATUS_YES = 1;

    /** 采购订单 - 数据来源，字典类型：order_po_source  */

    int STATUS_MANUAL = 0;

    int STATUS_INTERFACE = 1;

    /** 发货订单 - 数据来源，字典类型：order_delivery_status  */

    String STATUS_DELIVERY_UNFILLED = "0";

    String STATUS_DELIVERY_SENT = "1";

    String STATUS_DELIVERY_RECEIVE = "2";

    /** 采购订单 - 是否关闭，字典类型：common_yes_no  */

    int CLOSED_NO = 0;

    int CLOSED_YES = 1;


    /** 订单进程 - 订单状态，字典类型：type  */

    int TYPE_SUPPLIER_UNAUDIT = 1;//供应商待确认

    int TYPE_SUPPLIER_AUDIT = 2; //确认可供货

    int TYPE_SUPPLIER_UNDELIVERY = 3;//供应商无法供货

    int TYPE_SUPPLIER_ANY_DELIVERYED = 4; //部分发货

    int TYPE_SUPPLIER_ALL_DELIVERYED = 5; //全部发货

    int TYPE_HOSPITAL_CANCEL = 6; //取消

    int TYPE_COMPLETE = 7; //完成

    int ORDER_PLATFORM_MSCM = 0; //采购平台-mscm

    int ORDER_PLATFORM_SUNPURCHASE = 1; //采购平台-阳采

    int ORDER_PLATFORM_ERP = 2; //ERP 平台-采购

    int ORDER_PLATFORM_PURCHASE = 0; //采购场景 ---订单创建后
    String PO_FROM_TYPE_SCP = "SCP"; //

}
